package com.nidu.demo.mail.dto;

import com.nidu.demo.base.BaseCmd;
import com.nidu.demo.common.enums.StatusEnum;
import com.nidu.demo.common.validation.InEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 邮件模板更新命令
 *
 * @author auto
 */
@Data
@Schema(description = "邮件模板更新命令")
@EqualsAndHashCode(callSuper = true)
public class MailTemplateUpdateCmd extends MailTemplateAddCmd {

    @NotNull(message = "主键ID不能为空")
    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

}
